package com.ruoyi.bill.mapper;

import com.ruoyi.bill.domain.BillCustomInvest;
import com.ruoyi.bill.domain.BillPort;
import com.ruoyi.bill.domain.bo.BillCustomInvestBo;
import com.ruoyi.bill.domain.bo.BillPortBo;
import com.ruoyi.bill.domain.vo.BillBankPortVo;
import com.ruoyi.bill.domain.vo.BillPortVo;
import com.ruoyi.common.core.mapper.BaseMapperPlus;
import com.ruoyi.dataMain.domain.bo.DataConsumptionBo;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * 端口台账Mapper接口
 *
 * @author linziheng
 * @date 2024-02-29
 */
public interface BillPortMapper extends BaseMapperPlus<BillPortMapper, BillPort, BillPortVo> {
    List<BillPortVo> queryListToday();

    List<BillPort> getNoList();

    List<String> accountBelongList();

    double getTodayTotal(String now);

    BigDecimal currPort(@Param("bo") BillPortBo bo);

    List<BillPort> recordList(BillPortBo bo);
//    补录查询需要修改的数据
    List<BillPort> recordListBl(BillPortBo bo);
    List<BillPort> recordListNoThis(BillPortBo bo);
    List<BillPort> recordListDesc(BillPortBo bo);


    void updateNo();

    List<BillPort> selectListByAccountBelong(@Param("accountBelong")String accountBelong,@Param("signatory")String signatory);

    List<BillPort> transfer();

    List<BillCustomInvest> previous(BillPortBo bo);

}
